package com.jingbian.cppccbackend.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.data.annotation.Id;


import java.time.LocalDateTime;

@Getter
@Setter
@ToString
@EqualsAndHashCode
public class Department {
    private Integer id;

    private String name;

    private String description;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createdAt;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime updatedAt;
}